package conson.tech.manage.coupons.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import conson.tech.manage.coupons.entity.pojo.ActivityCoupons;
import conson.tech.manage.coupons.entity.vo.ActivityCouponDetailVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * InterfaceName: ActivityCouponsMapper
 * Description:
 * Author: ZYF
 * Date: 2020/7/20
 * Version: 1.0
 */
public interface ActivityCouponsMapper extends BaseMapper<ActivityCoupons> {

    /**
     * 查询活动绑定的优惠券信息
     *
     * @param activityId
     * @return  java.util.List<conson.tech.manage.coupons.entity.pojo.ActivityCoupons>
     */
    List<ActivityCouponDetailVo> selectAll(@Param("activityId") Long activityId);
}
